package net.maku.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import java.math.BigDecimal;
import java.util.Date;

/**
* 购买订单管理
*
* @author 小陈 www.hong.ch@qq.com
* @since 1.0.0 2025-03-24
*/
@Data
@Schema(description = "购买订单管理")
public class SysUserWalletVO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	@Schema(description = "订单编号")
	private String orderNumber;

	@Schema(description = "发货地（国家）")
	private String sendCountry;

	@Schema(description = "发货地(州)")
	private String sendProvince;

	@Schema(description = "发货地(城市)")
	private String sendCity;

	@Schema(description = "目的地(城市)")
	private String goalCountry;

	@Schema(description = "目的地(州)")
	private String goalProvince;

	@Schema(description = "目的地(城市)")
	private String goalCity;

	@Schema(description = "发货时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date sendTime;

	@Schema(description = "备注")
	private String remark;

	@Schema(description = "价格")
	private BigDecimal price;

	@Schema(description = "类型")
	private String catalog;

	@Schema(description = "单号状态 0-运输途中 1-收到信息 2-成功签收 3-可能异常")
	private Integer orderStatus;

	@Schema(description = "上传时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "购买时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

	@Schema(description = "购买人id")
	private Long buyId;

	@Schema(description = "上传供应商id")
	private Long sellId;

	@Schema(description = "删除")
	private Integer deleted;

	@Schema(description = "创建人")
	private Long creator;

	@Schema(description = "修改人")
	private Long updater;

	@Schema(description = "版本")
	private Integer version;

	@Schema(description = " 购买状态 0-未购买 1-已经购买")
	private Integer buyStatus;

	@Schema(description = "购买金额")
	private BigDecimal realPrice;

	@Schema(description = "金额")
	private BigDecimal balance;

	@Schema(description = "购买方式")
	private Integer buyWay;


}